//2009/08/13 02:50:02
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class LetterStrings
{
public:
    int sum(vector<string> s)
    {
        int score = 0;
        for (int i=0; i<s.size(); i++)
        {
            for (int j=0; j<s[i].size(); j++)
            {
                if (s[i][j] != '-') score ++;
            }
        }
        return score;
    }
};
